<!DOCTYPE html>
<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script src="./node_modules/vue/dist/vue.js"></script>


<body>

<div id="vue1">
    v-html:<span v-html="name"></span>
</div>

<div class="vue2">
    v-text:<span v-text="name"></span>
</div>

<script>

    var app = new Vue({
        el:"#vue1",
        data:{
            name:"<h1>药水哥</h1>"
        }
    });

    new Vue({
        el:".vue2",
        data:{
            name:"<h1>神奇药水</h1>"
        }

    })


</script>

</body>
</html>